
import Home from '../pages/Home/index'
import Layout from '../pages/Layout/index'
import List from '../pages/List/index'
import Order from '../pages/Order/index'
import {createBrowserRouter} from 'react-router-dom'
export const router = createBrowserRouter([
  {
    path: '/',
    element: <Layout />,
    children: [
      {
        path: '/',
        element: <Home />
      },
      {
        path: '/list',
        element: <List />
      },
      {
        path: '/order',
        element: <Order />
      }
    ]
  }
])
export default  router